package com.raymond.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenyun
 * @since 2020-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("LF_BUSMANAGER")
@ApiModel(value="Busmanager对象", description="")
public class Busmanager extends Model<Busmanager> {

    private static final long serialVersionUID = 1L;

    @TableId("BUS_ID")
    private Long busId;

    @TableField("BUS_CODE")
    private String busCode;

    @TableField("BUS_NAME")
    private String busName;

    @TableField("BUS_DESCRIPTION")
    private String busDescription;

    @TableField("CLASS_NAME")
    private String className;

    @TableField("CORP_CODE")
    private String corpCode;

    @TableField("BUS_TYPE")
    private Integer busType;

    @TableField("RISELEVEL")
    private Integer riselevel;

    @TableField("CREATE_TIME")
    private Date createTime;

    @TableField("UPDATE_TIME")
    private Date updateTime;

    @TableField("DEP_ID")
    private Long depId;

    @TableField("USER_ID")
    private Long userId;

    @TableField("STATE")
    private Integer state;

    @TableField("TAIL_NO")
    private String tailNo;

    @TableField("SPUSER")
    private String spuser;

    @TableField("IS_CHECK_TEMPLATE")
    private Integer isCheckTemplate;

    @TableField("SENDSTEP")
    private String sendstep;

    @TableField("CENTRALIZED")
    private String centralized;

    @TableField("RECIPIENT")
    private String recipient;

    @TableField("SMS_TYPE")
    private Integer smsType;


    @Override
    protected Serializable pkVal() {
        return this.busId;
    }

}
